package com.erp.pro.service;

import com.erp.common.utils.R;
import com.erp.pro.domain.InstockDO;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * 入库管理
 * 
 * @author Eric
 * @email shiliang900713@163.com
 * @date 2019-11-04 13:15:25
 */
public interface InstockService {
	
	InstockDO get(Integer id);
	
	List<InstockDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(InstockDO instock);
	
	int update(InstockDO instock);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	int confirm(Integer id);

    List<InstockDO> findByOutQty(Long proid);

	List<InstockDO> getByGroupid(String groupNumber, Long proid);
}
